package com.adu.springbootdemo.mapper;

import com.adu.springbootdemo.domain.BatchUser;
import com.adu.springbootdemo.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    Integer save(User user);
    User findById(Integer id);
    List<User> findAll();
    Integer deleteById(Integer id);
    Integer update(User user);
    Integer batchSave(BatchUser userList);
}
